package com.muyu.danmo.mapper;

import com.muyu.danmo.domain.DanmoCommunityCommentLike;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 社区评论点赞Mapper接口
 *
 * @author kunzong
 * @date 2024-10-30
 */
@Mapper
public interface DanmoCommunityCommentLikeMapper {
    DanmoCommunityCommentLike selectDanmoCollectMaterialByIdAndUserId(@Param("postId") Long postId, @Param("userid") Long userid);

    void insertDanmoCommunityCommentLike(DanmoCommunityCommentLike danmoCommunityCommentLike);

    void deleteDanmoCommunityCommentLikeById(@Param("id") Long id);

    List<DanmoCommunityCommentLike> selectDanmoCollectMaterialByPostId(@Param("id") Long id);
}
